package com.aiit.service.impl;

import com.aiit.dao.CheckLoginDao;
import com.aiit.pojo.bo.User;
import com.aiit.service.CheckLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CheckLoginServiceImpl implements CheckLoginService {
    @Autowired
    private CheckLoginDao checkLoginDao;

    @Override
    public User checkLogin(long id, String password) {
        return checkLoginDao.checkLogin(id,password);
    }
}
